package com.antdesignbackend.backend.config;

/**
 * luyangia系统全局参数配置
 */
public class WebConfig {
    /**
     * 微信appid
     */
    public final static String APPID = "wx740d16af3bd07004";
    /**
     * 是否开启谷歌验证码，默认开启 true
     */
    public final static boolean Is_code =false;
    /**
     * 上传地址,服务器：/usr/uploadFile/images/，本地：c:/upload,如果空表示在资源文件夹下
     */
   // public final static String uploadImage = "c:/uploadFile/images/";
    public final static String uploadImage = "C:/WebApp/MVC.UI/WeUI/disk2/example/images/";
    /**
     * 服务器指定域名端口
     */
    public final static String host = "http://www.3y-space.com:18082/";
//    public final static String host = "http://www.3y-space.com:18086/";
    /**
     * 下发开门指令地址
     */
    public final static String ActionUrl = "http://www.3y-space.com:11119/receiveCommand";
    /**
     * 提前开第2路分钟数
     */
    public final static int Minute = 5;
    /**
     * 下发命令间隔毫秒数
     */
    public final static int WaitSecond = 3000;
    /**
     * 开完门禁，多少秒后发送个关的门禁,-1关闭这功能，不发送关的命令
     */
    public final static int ClosSecond = 5000;
    /**
     * 订单有效分钟数，超过时间作废默认 5（分钟）
     */
    public final static int appointExpMinute = 5;
    /**
     * 公众号appid
     */
    public final static String appid ="wx204609f407036d11";
    /**
     * 公众号 secret
     */
    public final static String secret ="98d0d9dc76d6c4eb2ce182f1d17ea47f";
    /**
     * 商户号 mchId
     */
    public final static String mchid ="1580823371";
    /**
     * 商户号 paternerKey
     */
    public final static String paternerKey ="LU6B1P6295F0452C540H4767W73B1985";
    /**
     * 公众号获取openid跳转地址
     */
    public final static String redirect_uri ="https://www.3y-space.com/Applet/shop";
    /**
     * 会员注册
     */
    public final static Double charge1 = 70.0;//会员推荐分成C-B
    public final static Double charge2 = 25.0;//会员推荐分成B-A
    public final static Double charge3 = 20.0;//会员推荐服务商分成
    public final static Double charge4 = 10.0;//会员推荐合伙人分成
    public final static Double charge5 = 30.0;//会员推荐合伙人分成-无合作商
    public final static Double charge6 = 115.0;//服务商分成
    public final static Double charge7 = 10.0;//合伙人分成
    public final static Double charge8 = 125.0;//合伙人分成-无合作商
}
